package org.hry.netty.heartbeat;

import io.netty.bootstrap.Bootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioSocketChannel;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.concurrent.TimeUnit;


public class HeartBeatClient {
    public static void main(String[] args) {
//        EventLoopGroup worker = new NioEventLoopGroup();
//        try {
//            Bootstrap client = new Bootstrap();
//            client.group(worker).channel(NioSocketChannel.class).handler(new HeartBeatClientInitializer());
//            Channel channel = client.connect("10.176.237.163", 8099).sync().channel();
//            channel.closeFuture().sync();
//        } catch (Exception e) {
//            e.printStackTrace();
//        } finally {
//            worker.shutdownGracefully();
//        }
        String sss = "";
        for (int i = 2; i < 59; i++) {
            String fieldName = "s_" + i;
            sss+=fieldName + ",";
        }
        System.out.println(sss);
    }
}
